Saltar al contenido principal

Plain Text QR

TicketAccess Specification for Ticket Issuance

When issuing a ticket, it is necessary to specify the ticketAccess field, which determines the information used for accessing the event. This field is crucial as it defines how the access information is presented to the end-user.

In most cases, ticketAccess is used to provide a link to a QR code that allows attendees to access the event. This link is generally a URL that, when accessed, displays the corresponding QR code.

However, we also offer the option to send access information in plain text format. This can be useful in situations where a QR code is not required or when it is preferable to provide a code or access identifier directly.

Implementation Examples

Here, the locator field contains text or a code that can be used directly for event access.

"ticketAccess": {
"type": "OTHER",
"locator": "D02KWWKS029F"
}

To create text-based QR tickets, you must use the following endpoint:

Below is an example of how to notify Menta of the ticket issuance, with fictitious data, using cURL.
curl -X POST 'https://api.mentatickets.com/v1/tickets'
-H 'Authorization: YOUR_API_KEY'
-H 'Content-Type: application/json'
--data-raw '[
{
"ticketOptionId": "0001",
"showId": "4726",
"externalReferenceEventId": "the-lion-king-broadway",
"buyer": "buyer@emaildomain.com",
"ticketId": "111",
"ticketAccess": {
"type": "OTHER",
"locator": "D02KWWKS029F"
}
}
]'
JSON Response
```
{
"status": 200,
"data": [{TICKETDATA}],
"errors": null
}
```

For more detailed information on Ticket and Seating, refer to the section on ticket data.